home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 March
/
EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso
/
earcd
/
faq
/
tg15demo.lha
/
TG-Screen.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-09-28
|
735b
|
28 lines
/*SET SCREENMODE FOR TREK-THE.GUIDE v1.0 */
if ~show('L','rexxreqtools.library') then
call addlib("rexxreqtools.library", 0, -30, 0)
NL = '0a'x
sm:
screenmode = rtscreenmoderequest( "Pick screentype", ,,
"rtsc_flags = screqf_sizegads", screen)
if screenmode ~= "" then do
open(dfile, 'envarc:Trekguide.prefs', 'w')
writeln(dfile, screen.width'|'screen.height)
close(dfile)
/*say 'the screenwidth is' screen.width
say 'the screenheigh is' screen.height
*/
end
if screenmode = "" then do
call rtezrequest( "You MUST pick a screen mode before running" || NL || "Trek-the.Guide for the first time", " OK ", , )
/* call sm()*/
end
call rtfreefilebuffer()
address command 'copy envarc:trekguide.prefs env:'